]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nilfs2/nilfs.h
nilfs2: replace BUG_ON and BUG calls triggerable from ioctl
[linux-2.6-omap-h63xx.git] / fs / nilfs2 / nilfs.h
index 48c070676cc512299faf2a8d8fb8aa304509177e..a7f5bc724e337ad42fa269fe8d7b772f732edf24 100644 (file)
@@ -173,7 +173,6 @@ static inline void nilfs_set_transaction_flag(unsigned int flag)
 {
        struct nilfs_transaction_info *ti = current->journal_info;
 
-       BUG_ON(!ti);
        ti->ti_flags |= flag;
 }
 
@@ -242,8 +241,7 @@ extern void nilfs_set_link(struct inode *, struct nilfs_dir_entry *,
 extern int nilfs_sync_file(struct file *, struct dentry *, int);
 
 /* ioctl.c */
-int nilfs_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
-long nilfs_compat_ioctl(struct file *, unsigned int, unsigned long);
+long nilfs_ioctl(struct file *, unsigned int, unsigned long);
 int nilfs_ioctl_prepare_clean_segments(struct the_nilfs *, void __user *);
 
 /* inode.c */