]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/read_write.c
[PATCH] fix silly ARM non-EABI build error
[linux-2.6-omap-h63xx.git] / fs / read_write.c
index 6256ca81a718673694249aa2bcc3f9dff6895bcf..5bc0e9234f9d7c5dd21b1e244127fece7bfa905c 100644 (file)
@@ -202,7 +202,7 @@ int rw_verify_area(int read_write, struct file *file, loff_t *ppos, size_t count
                goto Einval;
 
        inode = file->f_dentry->d_inode;
-       if (inode->i_flock && MANDATORY_LOCK(inode)) {
+       if (unlikely(inode->i_flock && MANDATORY_LOCK(inode))) {
                int retval = locks_mandatory_area(
                        read_write == READ ? FLOCK_VERIFY_READ : FLOCK_VERIFY_WRITE,
                        inode, file, pos, count);