]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/namei.c
Merge branch 'for_3.2/pm-cleanup-2' of git://github.com/khilman/linux-omap-pm into...
[karo-tx-linux.git] / fs / namei.c
index 9061157e39d6e7bb87c36806ecdee29325d59be6..7657be4352bf641aac7590ca388ec20133add227 100644 (file)
@@ -2035,10 +2035,7 @@ static int may_open(struct path *path, int acc_mode, int flag)
        if (flag & O_NOATIME && !inode_owner_or_capable(inode))
                return -EPERM;
 
-       /*
-        * Ensure there are no outstanding leases on the file.
-        */
-       return break_lease(inode, flag);
+       return 0;
 }
 
 static int handle_truncate(struct file *filp)